<template>
  <div>
    <navbar @myevent="isShow=$event"></navbar>
    <sidebar v-show="isShow"></sidebar>
  </div>
</template>

<script>
import Navbar from './components/Navbar.vue'
import Sidebar from './components/Sidebar.vue'

export default {
  name: 'App',
  data(){
    return {
      isShow: false
    }
  },
  components: {
    Navbar,
    Sidebar
  }
}
</script>

<style>
</style>
